package com.usian.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.entity.Content;
import com.usian.mapper.CountentMapper;
import com.usian.service.CountentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/8/23 20:35
 */

@Service
public class CountentServiceImpl extends ServiceImpl<CountentMapper, Content> implements CountentService {
    @Autowired
    private CountentMapper countentMapper;
    @Override
    public Integer findAllCountent() {
        return countentMapper.findAllCountent();
    }
}
